
package at.fhj.ase.clientarch.server;

import org.slf4j.LoggerFactory;

import at.fhj.ase.clientarch.server.control.ServerController;

/**
 * @author cja, sfe | www.fh-joanneum.at | Client Architectures and Design
 */
public class Server {
  private static final long serialVersionUID = 6168992752579471093L;

  private Server() throws Throwable {
    ServerController.INSTANCE.startApplication();
  }

  public static void main(String args[]) {
    try {
      new Server();
    } catch (Throwable t) {
      LoggerFactory.getLogger(Server.class).error("Server error/exception: " + t, t);
    }
  }
}